import { createApp } from 'vue'
import router from '@/router/index'
import App from '@/app'
import { renderErrorPage } from '@/pages/home/error'
import '@/assets/iconfont/iconfont.css'
import '@/assets/css/tailwind.css'
;(async () => {
  // start(true);
})()
  .catch((e) => {
    console.error(e)
    return Promise.reject()
  })
  .then(() => {
    const app = createApp(App)
    app.use(router).mount('#app')
  })
  .catch((e) => {})
